#include <stdio.h>

// C++ 完全兼容 C 语言，在指针赋值上要做到显示

// 算数运算
// pp + 1 == pp + sizeof(int)
int main()
{
    int *p;char *q;
    p = (int*)q;
//    int *pp = 0x0001;
//    pp+1;
//    int *qq = 0x0005;
    char *pp = 0x0001;
    pp+1;
    char *qq = 0x0002;
    if(pp + 1 == qq)printf("==\n");
    if(qq - pp == 1)printf("==\n");
    return 0;
}
